<template>
	<view class="">
		<demoChildVue ref="child"></demoChildVue>
		<view class="">
			{{ count }}
		</view>
	</view>
</template>  

<script lang="ts" setup>
	import { onMounted, ref } from 'vue';
import demoChildVue from '../../components/demo-child/demo-child.vue';
	const child = ref(null)
	const count = ref(0)
	onMounted(()=>{
		count.value = child.value.count
		console.log(child.value.count);
	})
</script>

<style scoped lang="scss">
  
</style>
